package com.lijie.ljblog.service;

import com.github.pagehelper.PageInfo;
import com.lijie.ljblog.model.Liuyan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lijie.ljblog.util.Result;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lijie
 * @since 2021-08-28
 */
public interface LiuyanService extends IService<Liuyan> {
    PageInfo<Liuyan> getLiuyanList(Integer page,Liuyan liuyan);

    Boolean commitLiuyan(Liuyan liuyan, HttpServletRequest request);

    Result<Integer> getLiuyanNums()throws Exception;
}
